package com.hmall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.orderPojo.Order;

public interface IOrderService extends IService<Order> {
    /**
     * 提交订单
     * @param num
     * @param paymentType
     * @param addressId
     * @param itemId
     * @return
     */
    Long placeOrder(Integer num, Integer paymentType, Integer addressId, Long itemId);
}
